package edu.zut.hb.software.student.domain;
import edu.zut.hb.software.base.domain.BaseEntity;
import lombok.Data;

import javax.persistence.*;
@Table(name = "student")
@Entity
public class Student extends BaseEntity<Long> {

    private static final long serialVersionUID = -4376674977047164142L;

    @Column(name = "name")
    private String name;

    @Column(name = "num")
    private int num;

    @Column(name = "status")
    private boolean status;

//    @ManyToOne
//    @JoinColumn(name = "hospitalId")
//    Hospital hospital;

    public static long getSerialVersionUID() {
        return serialVersionUID;


    }

    public String getName() {
        return name;
    }

    //public Hospital getHospital() { return hospital; }

    public void setName(String name) {
        this.name = name;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

   // public void setHospital(Hospital hospital) {
     //   this.hospital = hospital;
    //}

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

	public void setAddress(String string) {
		// TODO Auto-generated method stub
		
	}
}
